*************************************************************
* Title: 1_master		              						*
* Authors: Peter Kuhn, Trevor Osaki, Lei Yue                *
* Purpose: Run all analyses						            *
* Date: August 2024                                         *
*************************************************************

version 16

clear

set more off
set matsize 1000
set graph off


* Once the home directory has been set, this will generate the figures, tables, and appendices: 


	// (optional) prepare acs data 
	clear
		do 2_prep_acs.do

	// (optional) prepare gss data
	clear
		do 2_prep_gss.do

	// creates figures for the paper and numbered appendices
	clear
		do 3_figures.do

	// creates tables for the paper and numbered appendices
	clear
	cd $homedir
		do 4_tables.do

	// creates results for Appendix P
	clear
		do 5_pre_analysis_plan.do 

